﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace ATest.Tests.MockObjects
{
    public class MockIdentity : Moq.Mock<IIdentity>
    {
        public MockIdentity()
        {
            this.Setup(x => x.AuthenticationType).Returns("MockIdentity");
            this.Setup(x => x.IsAuthenticated).Returns(true);
            this.Setup(x => x.Name).Returns("someUser");
        }
    }
}
